package com.kun.lagou.order.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author Administrator
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderInfo {
    private long userId;
    private String orderId;
    //业务标识，订单中台可以区分不同的业务
    private String biz;
    //和外部交互使用
    private String outOrderId;
    private long commodityId;
    private BigDecimal price;
    private BigDecimal oldPrice;
    private Map<String, Object> params;
}
